<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        div.one {
            position: relative;
            width: 100%;
            height: 500px;
            background-color: pink;

        }
        div.two{
            width: 100px;
            height: 100px;
            background-color: aqua;
            position: absolute;
            top:0px;
            bottom:0px;
            /* left:0px; */
            /* right:0px; */
        }
    </style>
</head>
<body>
    <div class="one">
        <div class="two"></div>
    </div>
    
</body>
</html>